#@navbar()
#define main()
<h5>角色管理&nbsp;&nbsp;
	<a class="btn btn-success" href="#(ctx)/User/add" role="button">创建角色</a>
</h5>

<div class="table_box">
	<table class="table table-hover">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="35%">用户名</th>
				<th width="12%">密码</th>
				<th width="12%">操作</th>
			</tr>
			
			#for(x : UserPage.getList())
			<tr>
				<td style="text-align:left;">#(x.id)</td>
				<td style="text-align:left;">#(x.name)</td>
				<td style="text-align:left;">#(x.password)</td>
				<td style="text-align:left;">
					&nbsp;&nbsp;<a href="#(ctx)/User/delete/#(x.id)">删除</a>
					&nbsp;&nbsp;<a href="#(ctx)/User/edit/#(x.id)">修改</a>
				</td>
			</tr>
			#end
		</tbody>
	</table>
	#@paginate(UserPage.pageNumber, UserPage.totalPage, "/easyBI/User/")
</div>
#end